from django.urls import path, register_converter

from apps.app1.views import Username
from utils.converters import UsernameConverter

register_converter(UsernameConverter, 'u_name')
urlpatterns = [
    path('user_name/<u_name:username>/count/', Username.as_view())
]
